package org.itcast.travel.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.itcast.travel.pojo.LoginInfo;
import org.itcast.travel.pojo.User;
import org.itcast.travel.pojo.UserInfoS;

@Mapper
public interface UserMapper {

    LoginInfo login(User user);

    void register(UserInfoS user);

    void delUser(Integer id);

    void updateUserPasswrod(User user);
//查询旧密码
    User selectByUsername(String username);
}